home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Selection / Multimedia Selection Volume One - CD-ROM / MULTIMEDIA SELECTION____________.ISO / utils / found411 / d.man < prev    next >
Encoding:
Text File  |  1993-07-31  |  18.9 KB  |  506 lines

  1.     
  2.     ********************************************************************
  3.  
  4.     
  5.     "D" - Directory, File, and Disk Information Tool        Version 4.11
  6.  
  7.     
  8.     --------------------------------------------------------------------
  9.  
  10.  
  11.     CONTENTS:
  12.     
  13.             (1) Introduction
  14.             (2) "D" versus "DIR"
  15.             (3) Syntax
  16.             (4) Imbedded pattern matching
  17.             (5) Multiple searchname patterns
  18.             (6) Model
  19.             (7) Case
  20.             (8) Fuzzy
  21.             (9) Hidden
  22.            (10) Color
  23.            (11) Index (Sort)
  24.            (12) Detail
  25.            (13) Archive
  26.            (14) Subdir
  27.            (15) Skan
  28.            (16) Bonus switches (stats, change, actual) 
  29.            (17) Miscellaneous "D" techniques
  30.            (18) Versions
  31.     
  32.  
  33.     ********************************************************************
  34.  
  35.  
  36.     (1) INTRODUCTION:
  37.  
  38.     This documentation is to supplement the on-line documentation in "D"
  39.     that you may view any time by typing "D/HELP" or "D/?".    "D"'s on-
  40.     line documentation explains all features, and gives a few examples.
  41.  
  42.     This documentation avoids  repeating information exactly as the HELP
  43.     screen presents it.  Your best success at using "D" will be achieved
  44.     by reading both this documentation AND the on-line help.
  45.  
  46.     You may find some features are  elaborated on  a little more in this
  47.     documentation since the  on-line screens  dictate a more brief pres-
  48.     entation.
  49.  
  50.     Generally speaking, "D" is an enhanced alternative to the  DIR  com-
  51.     mand.  It is  not limited  by the current directory  or by the usual
  52.     limitations of DOS filename patterns.
  53.  
  54.     "D" displays the Directory entries first, then the Hidden files, and
  55.     finally, the rest of the files.   They are always sorted alphabetic-
  56.     ally, and  (if the Pretty switch is active)  displayed in  different
  57.     colors based on the most common file extensions.
  58.  
  59.     When  using  either color  option  (Pretty or Color),  the directory
  60.     entries are displayed in  Light Green;  the Hidden files,  which are
  61.     also grouped together, are displayed in Light Magenta.  You will see
  62.     that some file entries have the letter "A" appended to them in Light
  63.     Blue.  This indicates that the archive bit is set.
  64.     
  65.     
  66.     ********************************************************************
  67.  
  68.     
  69.     (2) "D" VERSUS "DIR":
  70.  
  71.     "D" is first and foremost a replacement for the DIR command.  To be-
  72.     come a skilled user of  "D"  you should first use it instead of DIR.
  73.     You will see  the same information,  but it will be  more organized,
  74.     and more informative.  Using  "D"  in this context will allow you to
  75.     increase  your  level  of  information,  and  do  so in a more space
  76.     efficient way than DIR provides.
  77.  
  78.     To use "D" as a simple replacement for the DIR command just type "D"
  79.     followed by the searchname:
  80.                                  D AUTOEXEC.BAT
  81.     instead of using DIR, as in:
  82.                                  DIR AUTOEXEC.BAT
  83.  
  84.     "D" will accept the same search arguments as  DIR  does, but removes
  85.     the limitations by alowing you to imbed one or more asterisks in the
  86.     searchname and by allowing you to specify  more than one  searchname
  87.     at a time.
  88.  
  89.     By default  "D"  looks only in the  current directory  just like DIR
  90.     does, but the searching may be increased to the current and all sub-
  91.     ordinate directories, or to the entire disk  based on your choice in
  92.     the form of a command line switch or an environmental variable.
  93.  
  94.     "D" will display any file or directory on your drive.  Using the DIR
  95.     command can  cause you  to overlook  files and directories  that you
  96.     were unable to see.  Hidden and archived files are  easily recogniz-
  97.     able with "D".
  98.  
  99.  
  100.     ********************************************************************
  101.  
  102.  
  103.     (3) SYNTAX:
  104.  
  105.     D /switch(es) searchname(s)      OR      D searchname(s) /switch(es)
  106.  
  107.     The searchname is similar to the DOS standard filename with wildcard
  108.     characters  allowed.   Imbedded  pattern matching  is supported, and
  109.     multiple searchnames  can be specified  by connecting them with plus
  110.     signs.
  111.  
  112.     Switch values are 1 character in length.  The  first switch  must be
  113.     preceded by  a slash (/).   If more than 1 switch is specified,  the
  114.     2nd through last switches cannot have spaces between them.  Switches
  115.     can have the following values:
  116.  
  117.        Switch   Valid Values (Just use capitilized letter of Value)
  118.        -------  -----------------------------------------------------
  119.        model    LMTF    Large,      [M]edium,  Tiny,   best Fit
  120.        case     UXW     Upper,      mi[X]ed,   loWer
  121.        fuzzy    ZE      fu[Z]zy,    Exact
  122.        hidden   HR      [H]idden,   Regular only
  123.        color    PCB     [P]retty,   Color,     Black&white
  124.        index    I+NESDX [IN]ame,    IExtens'n  IDate,  ISize, IX(none)
  125.        detail   OG      Omit files, Grand total only
  126.        archive  A       Archive files only
  127.        subdir   SD      Subdirectories, entire Disk
  128.        skan     K       sKan target drive
  129.  
  130.        stats    %     display disk used/free as percentage (%)
  131.        change   *     change to displayed directory (*)
  132.        actual   #     display byte counts as actual bytes allocated (#)
  133.     
  134.     If you almost always specify a certain switch, you can save yourself
  135.     some keystrokes by setting the environmental variable  DSET equal to
  136.     the value of the switch(es).    For example,  if you would prefer to
  137.     see the filenames displayed in upper case, then at the  DOS  prompt,
  138.     you would type:
  139.                     C:\> SET DSET=U
  140.  
  141.     The DSET values  override the  default values,  and the command line
  142.     values will override the DSET values.
  143.  
  144.  
  145.     ********************************************************************
  146.  
  147.  
  148.     (4) IMBEDDED PATTERN MATCHING:
  149.  
  150.     If you don't quite remember the name of a file, but remember a frag-
  151.     ment of it's name, you can use  D's imbedded pattern searching logic
  152.     to help you remember.
  153.  
  154.     Let's say  you remember the file's name  had the string "YES" in it,
  155.     but you can't remember if the "YES" was in the beginning, middle, or
  156.     the end of the file's name. Also, to make things more difficult, you
  157.     can't remember which directory it's in. "D" will take care of you if
  158.     you type:
  159.                D/D *YES
  160.  
  161.     If the fuZzy switch is in effect, this will have  the same effect as
  162.     if you had typed D/D *YES*.*.
  163.  
  164.     Since the DIR command will only allow the "*" to be the last charac-
  165.     ter in  a file  or  extension name, this feature should be a welcome
  166.     alternative.
  167.  
  168.     Important definition:  "*"  <---- The asterisk says "zero or more of
  169.     any character."
  170.  
  171.     You can mix asterisk's and other characters freely, for example:
  172.  
  173.                    D *U*O*X
  174.  
  175.     would find AUTOEXEC.BAT and UTOEXEC.BAT and AUTOEX.DAT
  176.  
  177.     Another definition:  "?"  <----- each question mark says "one of any
  178.                                      character except when the "?" is at
  179.                                      the end of the  searchname in which
  180.                                      case it means zero or one character
  181.                                      to comply with the DOS standard".
  182.  
  183.  
  184.     ********************************************************************
  185.  
  186.     
  187.     (5) MULTIPLE SEARCHNAME PATTERNS:
  188.  
  189.     "D" does not limit you to 1 SEARCHNAME!   Let's say you just want to
  190.     select the .BAT files and the .EXE files. Type:
  191.                                                     D *.BAT+*.EXE
  192.     
  193.     Use the plus sign  (+)  to connect the searchnames.   If you want to
  194.     find all of the HELP files on your drive, you could do 2 searches:
  195.  
  196.                     D/D *H*LP
  197.                     D/D *.HLP
  198.  
  199.     But you'd find all of the same files by typing:
  200.  
  201.                     D/D *H*LP+*.HLP
  202.  
  203.     Of course you don't need to use wildcards:
  204.  
  205.                     D AUTOEXEC.BAT+CONFIG.SYS
  206.  
  207.     There would be  no limit  to the  number of searchnames that you can 
  208.     connect, but the DOS command line is only "so long" (128 characters,
  209.     or something like that).   Do feel free to type as many names as you
  210.     want to as long as there's room to type them!
  211.  
  212.     Limitation:  Only the first SEARCHNAME can refer to a disk/directory
  213.                  path,  the second  through the Nth SEARCHNAMES are only
  214.                  examined for their FILE and EXTENSION values.
  215.  
  216.                  In other words the target drive and/or directory is de-
  217.                  termined solely by examining the first SEARCHNAME.
  218.     
  219.  
  220.     ********************************************************************
  221.  
  222.     
  223.     (6) MODEL:
  224.  
  225.     Use the model parameter to determine  how much  information you will
  226.     see:
  227.         L  = Filename, Extension, Size, Date & Time, Attribute
  228.        [M] = Filename, Extension, Size, Attribute
  229.         T  = Filename, Extension, Attribute
  230.  
  231.         F  = Best Fit.  The largest model that will fit all filenames on
  232.              1 screen will be chosen.  If that is physically impossible,
  233.              the Tiny model is chosen.
  234.  
  235.     
  236.     ********************************************************************
  237.  
  238.     
  239.     (7) CASE:
  240.  
  241.     Determines  whether  the  file  information  is  displayed in UPPER,
  242.     lower, or Mixed case:
  243.  
  244.         U  = UPPER CASE
  245.        [X] = Mixed Case
  246.         L  = lower case
  247.     
  248.  
  249.     ********************************************************************
  250.  
  251.  
  252.     (8) FUZZY:
  253.  
  254.     Can be used to automatically make all searches look for whatever you
  255.     type as your searchname  PLUS  anything else  that  starts with that 
  256.     pattern.
  257.  
  258.     When fuzziness  is active,  typing  "D TEST"  is the same  as typing
  259.     "D TEST*.*".     
  260.  
  261.     Also, typing "D TEST.B" is the same as typing "D TEST.B*".
  262.  
  263.     If you'd prefer to be consistant with the DOS standard which doesn't
  264.     append "*"'s, use the E switch.
  265.  
  266.        [F] = Fuzzy
  267.         E  = Exact
  268.     
  269.     
  270.     ********************************************************************
  271.  
  272.     
  273.     (9) HIDDEN:
  274.  
  275.     The Hidden switch decides if you see the hidden/system files of not.
  276.  
  277.     This also means that the total  files  and  bytes won't  reflect the
  278.     totals of the hidden/system files.   Unless  you specify  the "O" or
  279.     "G" parameter, only displayed files are totalled.
  280.  
  281.        [H] = Hidden and Regular
  282.         R  = Regular only
  283.  
  284.     
  285.     ********************************************************************
  286.  
  287.     
  288.     (10) COLOR:
  289.  
  290.     The color option can be used  to enhance the readability of the dis-
  291.     play.  If you have an LCD screen, use the  "B"  switch.   Otherwise,
  292.     you'll probably want to choose between "P" or "C".    The "C" switch
  293.     causes the display to be in plain color mode.    The "P" switch will
  294.     show the files in different colors based on the file extension.
  295.  
  296.        [P] = Pretty
  297.         C  = Color
  298.         B  = Black & White (LCD)
  299.  
  300.  
  301.     ********************************************************************
  302.  
  303.     
  304.     (11) INDEX:
  305.  
  306.     This option allows you to view your file display in different orders
  307.     which will be  very useful  depending on what your current focus is.
  308.  
  309.     This switch requires 2 characters.  The first is the letter "I";  it
  310.     is used to tell "D" that the next letter  that follows  will specify
  311.     the sort order.    Be sure to alway follow the "I" with a letter, if
  312.     you don't, you will lose the  effect of the switch  that follows the
  313.     letter "I".  Also be aware that if you use DSET to override the nor-
  314.     mal "IN" sort, and you want to  cancel it  using the negative switch
  315.     method, the minus sign must follow the letter "I".   For example, if
  316.     you usually wanted  to see the files  sorted by extension, you could
  317.     arrange that by setting DSET=IE.   To use the negative switch method
  318.     to override it, your command line would read: D/I-E searchname.   It
  319.     might be more straightforward to type it like: D/IN.
  320.  
  321.        [IN] = Sorted name/extension
  322.         IE  = Sorted extension/name
  323.         IS  = Sorted size/name
  324.         ID  = Sorted date/name  (implies a model switch of "L" which you
  325.                                  can over-ride)
  326.  
  327.     Undocumented feature (on-line, that is).   If  you  want  to see the
  328.     directory entries in their "raw" state, I mean totally unsorted. Try
  329.     the hitherto forbidden:
  330.  
  331.         IX = No sort whatsoever!
  332.  
  333.  
  334.     ********************************************************************
  335.  
  336.  
  337.     (12) DETAIL:
  338.  
  339.     This option will eliminate  the filenames  from the display,  giving
  340.     you just the counts and totals.    Using the "O" switch (omit files)
  341.     is most useful if you are doing  a subdirectory or full disk search,
  342.     and want to see the totals by directory.  To say "Omit files" is the
  343.     same thing as saying "directory totals only."    To just see a grand
  344.     total, use the  "G"  switch; you won't see totals by directory,  but
  345.     you will get  a count  for number of directories in addition to file
  346.     counts and byte quantities.
  347.  
  348.     If you are just focusing on 1 directory,  there is no practical dif-
  349.     ference between using "G" and "O".
  350.  
  351.         O  = Omit Files (Directory Totals Only)
  352.         G  = Grand Total Only
  353.  
  354.  
  355.     ********************************************************************
  356.  
  357.  
  358.     (13) ARCHIVE:
  359.  
  360.     When the  "A"  switch  is used,  only files with the archive bit set
  361.     will be chosen.  If you regularly clear your archive bits by backing
  362.     up  or  some  other  method,  this option will make it easy to track
  363.     which files you've changed or added.   If you want to look at all of
  364.     the archived files on your disk, type "D/AD".    If you just want to
  365.     know the total of all archived files, type "D/ADG".
  366.  
  367.         A  = Only find archived files
  368.  
  369.     Archived files are indicated by the letter  "A"  to the right of the
  370.     archived file.
  371.  
  372.  
  373.     ********************************************************************
  374.  
  375.  
  376.     (14) SUBDIR:
  377.  
  378.     Use the Subdir option to determine the scope of  your searches  rel-
  379.     ative to the target directory.    Using "S" will cause the search to
  380.     execute for  whatever the target directory is,  and extends into any
  381.     directorys subordinate to (beneath) it.    If you want your searches
  382.     to look over the entire disk, just use the "D" switch.
  383.  
  384.     These switches make it possible for you to find a file (or files) no
  385.     matter where they exist.   They also make totalling and listing much
  386.     more flexible.
  387.                                   
  388.         S  = Current and Subordinate Subdirectorys
  389.         D  = Entire Disk
  390.  
  391.  
  392.     ********************************************************************
  393.    
  394.  
  395.     (15) SKAN:
  396.  
  397.     Yes, I know it's usually spelled differently, but the "C" switch was
  398.     used up by the time I got to this one!
  399.  
  400.     Anyway, the skan option causes the file of  directory names  used by
  401.     "D" to be updated or created.  There is one file for each drive ever
  402.     skanned except for A: and B:.     The files have the .TRE extension,
  403.     and are created and maintained in the  same directory  that contains
  404.     "D.EXE".  The files are used for Subdirectory or Full Disk searches.
  405.  
  406.     The first time you search a disk with the  "S"  or  "D"  option, the
  407.     file for that drive is created.    After that,  you must remember to 
  408.     use this option whenever you add a new subdirectory. This might seem
  409.     a little inconvenient, but saves you beaucoup time,  especially when
  410.     searching the entire disk.  
  411.  
  412.         K  = Skan the drive being searched to
  413.              rebuild the directory table.
  414.  
  415.  
  416.     ********************************************************************
  417.  
  418.     
  419.     (16) BONUS SWITCHES:
  420.  
  421.     Not much explanation needed for these  simple purpose  switches, but
  422.     they sure do come in handy occasionally!
  423.  
  424.     Use "%" (stats) when you want  to see  the disk  used and free quan-
  425.     tities expressed  as percentages  on the bottom line  instead of the
  426.     default byte counts.  The  total quantity  for the disk is still ex-
  427.     pressed as a byte count.
  428.  
  429.     Use  "*"  to (change) to the most recently viewed directory after it
  430.     has been displayed.
  431.  
  432.     The "#" (actual) switch causes the byte counts on the top line,  and
  433.     for each displayed file entry  to reflect the actual number of bytes
  434.     allocated for the file on the target drive.   It is assumed that you
  435.     understand that the smallest unit of allocation that  DOS can use is
  436.     a cluster.  It then follows that all byte counts will be evenly div-
  437.     isible by the cluster size of the target drive.
  438.  
  439.  
  440.        % = display disk used/free as percentage 
  441.        * = change to displayed directory 
  442.        # = display byte counts as actual bytes allocated 
  443.         
  444.     
  445.     ********************************************************************
  446.  
  447.  
  448.     (17) MISCELLANEOUS "D" TECHNIQUES
  449.  
  450.  
  451.     --------------------------------------------------------------------
  452.  
  453.  
  454.     If you have a filename on drive C:, and you want to go to the direc-
  455.     tory where it is, just type:
  456.                                  D/*D searchname.ext
  457.  
  458.     It doesn't matter  which directory you're in,  you will be  taken to
  459.     the directory where that file is.  If more  than one directory get's
  460.     a "hit",  each one will be displayed,  and  you can terminate "D" by
  461.     hitting the Esc key when your chosen directory is displayed.
  462.  
  463.  
  464.     --------------------------------------------------------------------
  465.  
  466.  
  467.     To get  the size of the current directory  in a 1 line display, just
  468.     type: 
  469.                           D/O
  470.  
  471.     To get the size of the current and all subdirectories, one line each
  472.     directory, just type:
  473.                           D/OS
  474.  
  475.     To get the size of the current and all sub directories, one line for
  476.     number of directories, files, and bytes, type:
  477.  
  478.                           D/GS
  479.  
  480.  
  481.     --------------------------------------------------------------------
  482.  
  483.  
  484.     To find all of the archived files on your drive, type: D/AD
  485.  
  486.  
  487.     ********************************************************************
  488.  
  489.  
  490.     (18) "D" VERSIONS:
  491.  
  492.         1.10 - The original shareware Version
  493.         1.11 - Colors added based on file extensions - ([P]retty Switch)
  494.         1.12 - Colors refined based on actual feedback
  495.         2.10 - Multiple Searchnames enabled
  496.         2.11 - Option to display byte counts as bytes allocated
  497.         3.01 - Performance related & Maint Mode is introduced
  498.         4.01 - Index added to sort filenames by Name, Size, or Extension
  499.                also Maint Mode is improved with explicit prompt
  500.         4.02 - (T)ype function is added to Maint Mode
  501.         4.11 - (C)opy and (A)ttribute functions are added to Maint Mode
  502.     
  503.     
  504.     ********************************************************************
  505.  
  506.